﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmartSpace.Core;

namespace SmartSpace.Workflow
{
    public interface IWorkflowDriveEvent
    {
        WorkflowDriveRecord Drive(
            WorkflowInstance instance, 
            WorkflowMetadata workflow,
            ActivityMetadata activity,
            EventMetadata @event,
            WorkflowDriveRecord currentRecord,
            Guid dataId,
            User sender,
            IEnumerable<Guid> receivers);
    }
}
